package com.sinosoft.oms.dto.calpremrequest;

import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

/**
 * @author:Frankiegg
 * @date:2018/5/16
 * @project:bee
 * @Modified By:
 **/
@Data
public class RiskDto {
    @NotBlank(message = "险种编码")
    private String riskCode;
    @NotBlank(message = "保额保费计算方式不能为空")
    private String calMode;
    @NotBlank(message = "保险期间不能为空")
    private String insuYear;
    @NotBlank(message = "保险期间单位不能为空")
    private String insuYearFlag;
    @NotBlank(message = "缴费期间不能为空")
    private String payEndYear;
    @NotBlank(message = "缴费期间单位不能为空")
    private String payEndYearFlag;
    private String getYear;
    private String getYearFlag;
    @NotBlank(message = "缴费频次不能为空")
    private String payIntv;
    private Double amnt;
    private Double prem;
    @NotBlank(message = "折扣费率不能为空")
    private Double rate;
    private String riskGrade;
    private String contPlanCode;
}
